Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Crystalize / suksma - fine line between tolerance and death penalty2.milk

Raw 11.1 KB on 23ffa4e102ea595ec83f2b18683b75332fc815c3
1MILKDROP_PRESET_VERSION=201
2PSVERSION=2
3PSVERSION_WARP=2
4PSVERSION_COMP=2
5[preset00]
6fRating=5.000000
7fGammaAdj=2.001
8fDecay=0.900
9fVideoEchoZoom=2.000
10fVideoEchoAlpha=0.290
11nVideoEchoOrientation=0
12nWaveMode=7
13bAdditiveWaves=0
14bWaveDots=0
15bWaveThick=0
16bModWaveAlphaByVolume=0
17bMaximizeWaveColor=0
18bTexWrap=1
19bDarkenCenter=0
20bRedBlueStereo=0
21bBrighten=0
22bDarken=0
23bSolarize=0
24bInvert=0
25fWaveAlpha=0.001
26fWaveScale=1.000
27fWaveSmoothing=0.000
28fWaveParam=0.000
29fModWaveAlphaStart=0.500
30fModWaveAlphaEnd=1.000
31fWarpAnimSpeed=0.010
32fWarpScale=0.010
33fZoomExponent=1.00000
34fShader=1.000
35zoom=1.00000
36rot=0.00000
37cx=0.500
38cy=0.500
39dx=0.00000
40dy=0.00000
41warp=0.01000
42sx=1.00000
43sy=1.00000
44wave_r=0.500
45wave_g=0.500
46wave_b=0.500
47wave_x=0.500
48wave_y=0.500
49ob_size=0.000
50ob_r=0.110
51ob_g=0.000
52ob_b=0.100
53ob_a=0.000
54ib_size=0.000
55ib_r=0.000
56ib_g=0.000
57ib_b=0.000
58ib_a=0.000
59nMotionVectorsX=0.000
60nMotionVectorsY=0.000
61mv_dx=0.000
62mv_dy=0.000
63mv_l=1.000
64mv_r=1.000
65mv_g=1.000
66mv_b=1.000
67mv_a=0.000
68b1n=0.000
69b2n=0.000
70b3n=0.000
71b1x=1.000
72b2x=1.000
73b3x=1.000
74b1ed=0.250
75wavecode_0_enabled=0
76wavecode_0_samples=512
77wavecode_0_sep=0
78wavecode_0_bSpectrum=0
79wavecode_0_bUseDots=0
80wavecode_0_bDrawThick=0
81wavecode_0_bAdditive=0
82wavecode_0_scaling=1.00000
83wavecode_0_smoothing=0.50000
84wavecode_0_r=1.000
85wavecode_0_g=1.000
86wavecode_0_b=1.000
87wavecode_0_a=1.000
88wave_0_per_point1=x=sample+0.1*sin(1.57+time*1.34+sample*5*(1+sin(time)));
89wave_0_per_point2=y=sample+0.1*cos(1.57+time*1.34+sample*5*(1+sin(time)));
90wave_0_per_point3=r=0.5+0.5*sin(time+sample*3);
91wave_0_per_point4=g=0.5+0.5*sin(time*1.13+sample*3);
92wave_0_per_point5=b=0.5+0.5*sin(time*0.97+sample*3);
93wave_0_per_point6=
94wavecode_1_enabled=0
95wavecode_1_samples=512
96wavecode_1_sep=0
97wavecode_1_bSpectrum=0
98wavecode_1_bUseDots=0
99wavecode_1_bDrawThick=0
100wavecode_1_bAdditive=0
101wavecode_1_scaling=1.00000
102wavecode_1_smoothing=0.50000
103wavecode_1_r=1.000
104wavecode_1_g=1.000
105wavecode_1_b=1.000
106wavecode_1_a=1.000
107wave_1_per_point1=x=sample+0.4*sin(time*(1+sample));
108wave_1_per_point2=y=1-(sample+0.4*cos(time*(1+sample)));
109wave_1_per_point3=r=0.5+0.5*sin(time+sample*3);
110wave_1_per_point4=g=0.5+0.5*sin(time*1.13+sample*3);
111wave_1_per_point5=b=0.5+0.5*sin(time*0.97+sample*3);
112wave_1_per_point6=
113wavecode_2_enabled=0
114wavecode_2_samples=512
115wavecode_2_sep=0
116wavecode_2_bSpectrum=0
117wavecode_2_bUseDots=0
118wavecode_2_bDrawThick=0
119wavecode_2_bAdditive=0
120wavecode_2_scaling=1.00000
121wavecode_2_smoothing=0.50000
122wavecode_2_r=1.000
123wavecode_2_g=1.000
124wavecode_2_b=1.000
125wavecode_2_a=1.000
126wave_2_per_point1=x=1-(sample+0.1*sin(1.57+time*1.34+sample*5*(1+sin(time))));
127wave_2_per_point2=y=sample+0.1*cos(1.57+time*1.34+sample*5*(1+sin(time)));
128wave_2_per_point3=r=0.5+0.5*sin(time+sample*3);
129wave_2_per_point4=g=0.5+0.5*sin(time*1.13+sample*3);
130wave_2_per_point5=b=0.5+0.5*sin(time*0.97+sample*3);
131wave_2_per_point6=
132wavecode_3_enabled=1
133wavecode_3_samples=512
134wavecode_3_sep=0
135wavecode_3_bSpectrum=0
136wavecode_3_bUseDots=0
137wavecode_3_bDrawThick=0
138wavecode_3_bAdditive=0
139wavecode_3_scaling=1.00000
140wavecode_3_smoothing=0.50000
141wavecode_3_r=1.000
142wavecode_3_g=1.000
143wavecode_3_b=1.000
144wavecode_3_a=1.000
145wave_3_per_point1=x=1-(sample+0.4*sin(time*(1+sample)));
146wave_3_per_point2=y=1-(sample+0.4*cos(time*(1+sample)));
147wave_3_per_point3=r=0.5+0.5*sin(time+sample*3);
148wave_3_per_point4=g=0.5+0.5*sin(time*1.13+sample*3);
149wave_3_per_point5=b=0.5+0.5*sin(time*0.97+sample*3);
150wave_3_per_point6=
151shapecode_0_enabled=0
152shapecode_0_sides=4
153shapecode_0_additive=0
154shapecode_0_thickOutline=0
155shapecode_0_textured=0
156shapecode_0_num_inst=1
157shapecode_0_x=0.500
158shapecode_0_y=0.500
159shapecode_0_rad=0.10000
160shapecode_0_ang=0.00000
161shapecode_0_tex_ang=0.00000
162shapecode_0_tex_zoom=1.00000
163shapecode_0_r=1.000
164shapecode_0_g=0.000
165shapecode_0_b=0.000
166shapecode_0_a=1.000
167shapecode_0_r2=0.000
168shapecode_0_g2=1.000
169shapecode_0_b2=0.000
170shapecode_0_a2=0.000
171shapecode_0_border_r=1.000
172shapecode_0_border_g=1.000
173shapecode_0_border_b=1.000
174shapecode_0_border_a=0.100
175shapecode_1_enabled=0
176shapecode_1_sides=4
177shapecode_1_additive=0
178shapecode_1_thickOutline=0
179shapecode_1_textured=0
180shapecode_1_num_inst=1
181shapecode_1_x=0.500
182shapecode_1_y=0.500
183shapecode_1_rad=0.10000
184shapecode_1_ang=0.00000
185shapecode_1_tex_ang=0.00000
186shapecode_1_tex_zoom=1.00000
187shapecode_1_r=1.000
188shapecode_1_g=0.000
189shapecode_1_b=0.000
190shapecode_1_a=1.000
191shapecode_1_r2=0.000
192shapecode_1_g2=1.000
193shapecode_1_b2=0.000
194shapecode_1_a2=0.000
195shapecode_1_border_r=1.000
196shapecode_1_border_g=1.000
197shapecode_1_border_b=1.000
198shapecode_1_border_a=0.100
199shapecode_2_enabled=0
200shapecode_2_sides=4
201shapecode_2_additive=0
202shapecode_2_thickOutline=0
203shapecode_2_textured=0
204shapecode_2_num_inst=1
205shapecode_2_x=0.500
206shapecode_2_y=0.500
207shapecode_2_rad=0.10000
208shapecode_2_ang=0.00000
209shapecode_2_tex_ang=0.00000
210shapecode_2_tex_zoom=1.00000
211shapecode_2_r=1.000
212shapecode_2_g=0.000
213shapecode_2_b=0.000
214shapecode_2_a=1.000
215shapecode_2_r2=0.000
216shapecode_2_g2=1.000
217shapecode_2_b2=0.000
218shapecode_2_a2=0.000
219shapecode_2_border_r=1.000
220shapecode_2_border_g=1.000
221shapecode_2_border_b=1.000
222shapecode_2_border_a=0.100
223shapecode_3_enabled=0
224shapecode_3_sides=4
225shapecode_3_additive=0
226shapecode_3_thickOutline=0
227shapecode_3_textured=0
228shapecode_3_num_inst=1
229shapecode_3_x=0.500
230shapecode_3_y=0.500
231shapecode_3_rad=0.10000
232shapecode_3_ang=0.00000
233shapecode_3_tex_ang=0.00000
234shapecode_3_tex_zoom=1.00000
235shapecode_3_r=1.000
236shapecode_3_g=0.000
237shapecode_3_b=0.000
238shapecode_3_a=1.000
239shapecode_3_r2=0.000
240shapecode_3_g2=1.000
241shapecode_3_b2=0.000
242shapecode_3_a2=0.000
243shapecode_3_border_r=1.000
244shapecode_3_border_g=1.000
245shapecode_3_border_b=1.000
246shapecode_3_border_a=0.100
247per_frame_init_1=mv_x=64;mv_y=48;
248per_frame_init_2=dcsp=0;
249per_frame_init_3=
250per_frame_init_4=zoom = 1.0;
251per_frame_init_5=warp = 0;
252per_frame_init_6=rot = 0;
253per_frame_init_7=dx = 0;
254per_frame_init_8=dy = 0;
255per_frame_init_9=sx = 1;
256per_frame_init_10=sy = -1;
257per_frame_init_11=cx = 0.5;
258per_frame_init_12=cy = 0.5;
259per_frame_init_13=
260per_frame_1=vb = vb*0.95 + (1-vb)*pow(bass*treb*mid,2)*0.02;
261per_frame_2=vvb = vvb*0.95 + (1-vvb)*vb*0.01;
262per_frame_3=vm = vm*0.95 + (1-vm)*pow(mid,2)*0.02;
263per_frame_4=vvm = vvm*0.95 + (1-vvm)*vm*0.01;
264per_frame_5=vt = vt*0.95 + (1-vt)*pow(treb,2)*0.02;
265per_frame_6=vvt = vvt*0.95 + (1-vvt)*vt*0.01;
266per_frame_7=vvb = min(1,max(0,vvb));
267per_frame_8=vvm = min(1,max(0,vvm));
268per_frame_9=vvt = min(1,max(0,vvt));
269per_frame_10=q1 = vvb*2;//0.5 + vb - vvb;
270per_frame_11=q2 = vvm*2;//0.5 + vm - vvm;
271per_frame_12=q3 = vvt*2;//0.5 + vt - vvt;
272per_frame_13=v=2;
273per_frame_14=bb = bb - vvb*v;
274per_frame_15=mm = mm - vvm*v;
275per_frame_16=tt = tt - vvt*v;
276per_frame_17=q4 = -bb;
277per_frame_18=q5 = -mm;
278per_frame_19=q6 = -tt;
279per_frame_20=q4=(q1+q2+q3)*5;
280per_frame_21=q5=(q1+q2+q3)*5;
281per_frame_22=q6=(q1+q2+q3)*5;
282per_frame_23=q7=(q1+q2+q3)*5;
283per_frame_24=q8=(q1+q2+q3)*5;
284per_frame_25=q9=(q1+q2+q3)*5;
285per_frame_26=q10=(q1+q2+q3)*5;
286per_frame_27=q11=(q1+q2+q3)*5;
287per_frame_28=q12=(q1+q2+q3)*5;
288per_frame_29=q13=(q1+q2+q3)*5;
289per_frame_30=q14=(q1+q2+q3)*5;
290per_frame_31=q15=(q1+q2+q3)*5;
291per_frame_32=q16=(q1+q2+q3)*5;
292per_frame_33=q17=(q1+q2+q3)*5;
293per_frame_34=q18=(q1+q2+q3)*5;
294per_frame_35=q19=(q1+q2+q3)*5;
295per_frame_36=q20=(q1+q2+q3)*5;
296per_frame_37=q21=(q1+q2+q3)*5;
297per_frame_38=q22=(q1+q2+q3)*5;
298per_frame_39=q23=(q1+q2+q3)*5;
299per_frame_40=q24=(q1+q2+q3)*5;
300per_frame_41=q25=(q1+q2+q3)*5;
301per_frame_42=q26=(q1+q2+q3)*5;
302per_frame_43=q27=(q1+q2+q3)*5;
303per_frame_44=q28=(q1+q2+q3)*5;
304per_frame_45=q29=(q1+q2+q3)*5;
305per_frame_46=q30=(q1+q2+q3)*5;
306per_frame_47=q31=(q1+q2+q3)*5;
307per_frame_48=q32=(q1+q2+q3)*5;
308per_frame_49=decay = 1;
309per_frame_50=
310per_frame_51=//uncommenting this block will make decay start at 0 when preset begins, and rise to the "max_decay" value
311per_frame_52=//max_decay = 0.97;
312per_frame_53=//dcsp = dcsp + 0.007*(75/fps);
313per_frame_54=//dcsp = min(dcsp , max_decay);
314per_frame_55=//decay = dcsp;
315per_frame_56=
316per_frame_57=//volume, and volume based time. framerate adjusted
317per_frame_58=vol = (bass+mid+treb)*0.25;
318per_frame_59=vol = vol*vol;
319per_frame_60=
320per_frame_61=mtime = mtime + vol * 0.01 * (75/fps);
321per_frame_62=
322per_frame_63=q1 = vol;
323per_frame_64=q2 = mtime;
324per_frame_65=
325per_frame_66=//non bass volume
326per_frame_67=vol2 = (mid+treb)*0.33;
327per_frame_68=vol2 = vol2*vol2;
328per_frame_69=
329per_frame_70=m2time = m2time + vol2 * 0.01 * (75/fps);
330per_frame_71=
331per_frame_72=q3 = vol2;
332per_frame_73=q4 = m2time;
333per_frame_74=
334per_frame_75=
335per_frame_76=//krash's beat detection code
336per_frame_77=volume = 0.3*(bass+mid+att);
337per_frame_78=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate);
338per_frame_79=lastbeat = lastbeat + equal(lastbeat,0)*time;
339per_frame_80=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
340per_frame_81=peakbass_att = max(bass_att,peakbass_att);
341per_frame_82=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
342per_frame_83=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995);
343per_frame_84=lastbeat = beat*time + (1-beat)*lastbeat;
344per_frame_85=peakbass_att = max(peakbass_att,1.1*meanbass_att);
345per_frame_86=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1));
346per_frame_87=beatcounter = beatcounter + beat;
347per_frame_88=mode = if(beat*equal(beatcounter%2,0),1-mode,mode);
348per_frame_89=flip = 2*mode-1;
349per_frame_90=
350per_frame_91=beatdrop = if( equal(beatdrop,0) , beat , max(beatdrop - 0.02*(75/fps) , 0) );
351per_frame_92=
352per_frame_93=q7 = beatdrop;
353per_frame_94=q8 = flip;
354per_frame_95=
355per_frame_96=
356per_frame_97=
357per_frame_98=
358per_frame_99=q6 = 1.0 + 0.005;//beatdrop*0.03;
359per_frame_100=
360per_frame_101=zoom = 1;
361per_frame_102=sx = -q6;
362per_frame_103=sy = q6;
363per_frame_104=
364per_frame_105=warp=0;
365per_frame_106=
366per_frame_107=//dx = sin(time/4)*0.15;
367per_frame_108=cx = 0.5 + dx ;
368per_frame_109=
369per_frame_110=gamma = 1 + beatdrop*beatdrop
370warp_1=`shader_body
371warp_2=`{
372warp_3=`float2 pixelsize = texsize.zw;
373warp_4=`float2 uvm = uv;
374warp_5=`
375warp_6=`float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy;
376warp_7=`float4 noiseVal = tex2D(sampler_noise_lq, noise_uv);
377warp_8=`
378warp_9=`ret.xyz = saturate(tex2D( sampler_pw_main,uvm).xyz*float3(1,1,1) - float3(.0,.0,.0));
379warp_10=`ret.xyz = tex2D( sampler_pw_main,uvm).xyz;
380warp_11=`
381warp_12=`
382warp_13=`float3 rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.xy-.5)*12*pixelsize).xyz;
383warp_14=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) {
384warp_15=`ret.xy = rsamp.xy;
385warp_16=`}
386warp_17=`
387warp_18=`rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.zw-.5)*48*pixelsize).xyz;
388warp_19=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) {
389warp_20=`ret.xy = rsamp.xy;
390warp_21=`}
391warp_22=`
392warp_23=`ret.z = tex2D(sampler_fw_main,ret.xy).z;
393warp_24=`
394warp_25=`ret.z -= q1*.005;
395warp_26=`
396warp_27=`if (ret.z < .09) {
397warp_28=`ret*=0;
398warp_29=`}
399warp_30=`
400warp_31=`
401warp_32=`}
402comp_1=`
403comp_2=`
404comp_3=`
405comp_4=`
406comp_5=`shader_body
407comp_6=`{
408comp_7=` uv = 0.05 + 0.9*uv;
409comp_8=` ret = tex2D(sampler_main, uv).xyz;
410comp_9=` // SUPER GLOW EDGES - looks awesome w/octopus
411comp_10=` float3 avg_col = GetBlur2(uv);
412comp_11=` ret = abs(avg_col - ret)*6;
413comp_12=` ret *= .85; // a little bit of overbright
414comp_13=`}